import Vue from 'vue'
import App from './App.vue'
import iView from 'iview';
import 'iview/dist/styles/iview.css'; // 导入样式
import VueRouter from 'vue-router'
import {routers} from './router.js'
import axios from 'axios';
import VueAxios from 'vue-axios';
import { store } from '../store/'



Vue.use(VueRouter)
Vue.use(iView);
Vue.use(VueAxios, axios);


const router=new VueRouter({
  routes:routers,
  mode: 'history'
})

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
